package rapier.sso.core.model;

import io.swagger.annotations.ApiModelProperty;

/**
 * 用户Model
 * 
 * @author chenkw
 *
 */
public class UserModel implements IUserModel{
	@ApiModelProperty("ID")
	private Long id;
	@ApiModelProperty("账号")
	private String account;
	@ApiModelProperty("姓名")
	private String name;
	@ApiModelProperty("身份证")
	private String idnum;
	@ApiModelProperty("手机")
	private String phone;
	@ApiModelProperty("密码")
	private String passwd;
	@ApiModelProperty("状态")
	private String status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdnum() {
		return idnum;
	}

	public void setIdnum(String idnum) {
		this.idnum = idnum;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public UserModel getBaseInfo() {
		return this;
	}
	
}
